package com.guo.core.framework.template;

public abstract class AbstractExecuteService<Req,Rsp> implements ExecuteService<Req,Rsp> {

    @Override
    public void afterPropertiesSet() {
        ServiceManager.registerService(this.getService(), this.getServiceType(), this);
    }

    protected abstract ServiceType getServiceType();

    protected abstract BizService getService();

}
